package SQL.query;

import SQL.abysnSQL.BoolCondition;
import SQL.abysnSQL.ColName;
import SQL.abysnSQL.ColNameList;
import SQL.abysnSQL.HvCondition;
import SQL.abysnSQL.SelectExpList;
import SQL.abysnSQL.TblRefList;

/*
 * select ::= SELECT distinct:dis selectexplist:sel from:f wherecon:w groupby:g having:h orderby:o
		{:RESULT = new select(dis,sel,f,w,g,h,o);:};
 */
public class Select extends SQL {
	public boolean isDistinct;
	public SelectExpList sellist;
	public TblRefList from;
	public BoolCondition where;
	public ColName group;
	public HvCondition hving;
	public ColNameList order;
	
	public Select(boolean b,SelectExpList sel,TblRefList f, BoolCondition w, ColName g, HvCondition h,ColNameList o){
		isDistinct = b;
		sellist = sel;
		from = f;
		where = w;
		group = g;
		hving = h;
		order = o;
	}
	
}
